<?php
$this->pageTitle=Yii::app()->name . ' - Kontakt';
$this->breadcrumbs=array(
	'Kontakt',
);
?>

<h1>Kontakt</h1>

<?php if(Yii::app()->user->hasFlash('contact')): ?>

<div class="flash-success">
	<?php echo Yii::app()->user->getFlash('contact'); ?>
</div>

<?php else: ?>

<p></p>
<table height="20">
<div style="float:left; width: 300px; font-size: 12px; margin-left: 45px;">Klinika Zdrowia EKAMED </div>
<div style="float:left; font-size: 10px; font-weight: bold">INFORMACJA TELEFONICZNA</div><br />
<div style="float:left; width: 340px; font-size: 12px; margin-left: 45px;">ul. Sezamkowa 8</div>
<div style="float:left; font-size: 12px; font-weight: bold">71 666 66 66 </div><br />
<div style="float:left; width: 300px; font-size: 12px; margin-left: 45px;">50-370 Wrocław</div><br />
</table>

<div class="form wide">

<?php $form=$this->beginWidget('CActiveForm'); ?>


	<?php echo $form->errorSummary($model); ?>



	<div class="row">
		<?php echo $form->labelEx($model,'email'); ?>
		<?php echo $form->textField($model,'email',array('size'=>92,'maxlength'=>128)); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'subject'); ?>
		<?php echo $form->textField($model,'subject',array('size'=>92,'maxlength'=>128)); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'body'); ?>
		<?php echo $form->textArea($model,'body',array('rows'=>6, 'cols'=>40)); ?>
	</div>

	<?php if(CCaptcha::checkRequirements()): ?>
	<div class="row">
		<?php echo $form->labelEx($model,'Kod weryfikacyjny'); ?>
		<div>
		<?php $this->widget('CCaptcha'); ?>
		<?php echo $form->textField($model,'verifyCode'); ?>
		</div>
		<div class="hint">Wprowadz litery wyswietlone na powyzszym obrazie.
		<br/>Wielkosc liter jest znaczaca.</div>
	</div>
	<?php endif; ?>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Wyślij'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->

<?php endif; ?>